class Solution {
public:
    int mechanicalAccumulator(int target) {
        target>1&&(target+=mechanicalAccumulator(target-1));
        return target;
    }
};